package com.wuge.gulimall.product.feign;

import com.wuge.common.to.SkuHasStockVo;
import com.wuge.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {
    @RequestMapping("/ware/waresku/hasStock")
    //@RequiresPermissions("ware:waresku:list")
    public R getHasStock( @RequestParam("lists") List<Long> lists);

}
